package com.lzyyj.gmis.base.model;

public class EntityModel<T, PK> {

	private Class<T> entityClass;
	
	private String idName;

	private Class<PK> idClass;

	private T entity;
	
	private PK id;

	public Class<T> getEntityClass() {
		return entityClass;
	}

	public void setEntityClass(Class<T> entityClass) {
		this.entityClass = entityClass;
	}

	public String getIdName() {
		return idName;
	}

	public void setIdName(String idName) {
		this.idName = idName;
	}

	public Class<PK> getIdClass() {
		return idClass;
	}

	public void setIdClass(Class<PK> idClass) {
		this.idClass = idClass;
	}

	public T getEntity() {
		return entity;
	}

	public void setEntity(T entity) {
		this.entity = entity;
	}

	public PK getId() {
		return id;
	}

	public void setId(PK id) {
		this.id = id;
	}
}
